package com.mini.req;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * @author xyf
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class BussinessPageInfoREQ implements Serializable {

    @ApiModelProperty(value = "页面id")
    private Long id;

    @ApiModelProperty(value = "建站内容")
    private String content;

    @ApiModelProperty(value = "状态 0草稿 1上线")
    private Integer states;

    @ApiModelProperty(value = "平台类型1抖音 2微信 3快手")
    private Integer platform;

    @ApiModelProperty(value = "O类型 1表单 2支付 3表单+支付")
    private Integer ocpmType;

    @ApiModelProperty(value = "部门ID")
    private Long deptId;

    @ApiModelProperty(value = "投放地址")
    private String url;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    @ApiModelProperty(value = "修改时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;


    @ApiModelProperty(value = "版本号，默认1 ")
    private String version;

    @ApiModelProperty(value = "当前操作人",required = true)
    private Long userId;


    @ApiModelProperty(value = "渠道")
    private String channelCode;

    @ApiModelProperty(value = "模板")
    private String tplName;

    @ApiModelProperty(value = "模板数据")
    private String tplData;

    @ApiModelProperty(value = "扩展属性")
    private String extendData;

    private String previewImg;

//    @ApiModelProperty(value = "0加盐业务线 1集团业务线", required = true)
//    private Integer businessType;

    @ApiModelProperty(value = "jsURL")
    private String jsUrl;

    @ApiModelProperty(value = "负责人id")
    private Long fzId;
    @ApiModelProperty(value = "负责人名字")
    private String fzName;
    @ApiModelProperty(value = "域名id")
    private Long domainId;
    @ApiModelProperty(value = "页面名称")
    private String pageName;

    @ApiModelProperty(value = "星图站点的模式 A|B")
    private String siteModel;

    @ApiModelProperty(value = "页面类型 0:非传统 1:传统 2:小程序")
    private Integer pageType;

    @ApiModelProperty(value = "小程序appid")
    private String xcxAppid;




}
